@import '../../../../css/colorVar.less';
@labelWidth1: ((8/24)/24) * 7 * 100%;
@spanWidth: ((8/24)/24) * 100%;

.counterpartyInfoAddConetent {
  .businessCol {
    display: contents;
    :global {
      .ant-col {
        width: unset !important;
      }
    }
  }
  .sec_title {
    margin-top: 20px;
    position: relative;
    width: 100%;
    i.anticon-caret-down,
    i.anticon-caret-right {
      font-size: 12px;
      margin-left: 10px;
      color: @theme;
      position: relative;
    }
  }
  :global {
    .counterparties {
      p,
      ul {
        padding: 0;
        margin: 0;
        font-family: PingFangSC-Regular, sans-serif !important;
        //   color: @text_main;
      }
      .main_bg {
        background: @section_bg;
        padding: 19px 0 5px;
      }

      .main_bg1 {
        margin: 0 0 10px;
      }

      .tablebg {
        background: @section_bg;
        padding: 20px;
        margin-bottom: 20px;
      }

      .ant-select-selection,
      .ant-input-disabled {
        background: rgba(153, 153, 153, 20%);
      }

      .ant-select-arrow .ant-select-arrow-icon,
      .ant-calendar-picker-icon {
        color: rgba(153, 153, 153, 40%);
      }

      background: @main_body_bg;
      height: 100%;

      .ant-card {
        border: 0;

        .ant-card-head {
          margin-bottom: 0;
          padding: 6px 20px 6px 46px;
          min-height: 30px;
          border-bottom: 0;
          border-radius: 0;
          background: @first_level_title_auxiliary !important;

          .ant-card-head-title {
            padding: 0;
            height: 18px;
            line-height: 18px;
            color: @text_main !important;
            font-family: 'PingFangSC-Medium';
            font-size: 14px;
          }
        }

        .ant-card-body {
          padding: 0;
          //   background: @section_bg
        }
      }

      .tringle {
        width: 39px;
        height: 0;
        border-top: 30px solid #fff;
        border-right: 29px solid transparent;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 2;
      }

      .tringle::after {
        content: '';
        left: 0;
        top: -30px;
        width: 0;
        height: 0;
        border-color: transparent @theme;
        border-width: 0 0 29px 29px;
        border-style: solid;
        position: absolute;
      }

      .ant-divider,
      .ant-divider-vertical {
        margin: 0 10px 0 0;
        display: inline-block;
        height: 16px;
        width: 4px;
        vertical-align: middle;
        position: relative;
        top: -1.5px;
        background: @theme;
      }

      .child_title {
        margin: 20px 0 10px;
        position: relative;

        i {
          color: @theme;
          margin-left: 10px;
        }
      }

      .footer_btn {
        text-align: right;
        margin-top: 25px;

        > div:first-child button {
          margin-right: 10px;
        }
      }

      .mt10 {
        margin-top: 10px;
      }

      .business {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  }
}
